﻿using MediatR;
using U.B.ErrorCode;

namespace U.B.WriteApi.Command
{
    public class AdduserCommand : IRequest<ApiResult<object>>
    {
        public string UserName { get; set; }
        public string UserPwd { get; set; }
        public int DepartmentId { get; set; }
        public bool UserSex { get; set; }
        public string UserAddress { get; set; }
        public string Creator { get; set; }
        public DateTime? CreationDate { get; set; }
        public string? Updateor { get; set; }
        public string? Updatedate { get; set; }
        /// <summary>
        /// 省份
        /// </summary>
        public string Province { get; set; }
        /// <summary>
        /// 市
        /// </summary>
        public string City { get; set; }
        /// <summary>
        /// 县
        /// </summary>
        public string County { get; set; }
        public bool IsDeleted { get; set; }
    }
}
